package 博客.原型模式;

import java.io.Serializable;

public class School implements Serializable {
    private String schoolName;

    @Override
    protected Object clone() throws CloneNotSupportedException {
        return super.clone();
    }
    public School(String schoolName) {
        this.schoolName = schoolName;
    }

//    public String getSchoolName() {
//        return schoolName;
//    }
//    public void setSchoolName(String schoolName) {
//        this.schoolName = schoolName;
//    }
}
